package com.jjmmbb.baoSudoku;

import java.util.ArrayList;

import com.adb.entity.GameData;

public class Comm {
	public static boolean isPure = true; // 是否是纯洁版

	public static boolean debug = false; // 是否debug

	public static boolean isBuy = false; // 是否购买
	// public static boolean isBuy = true; // 激活版本
	
	public static boolean isNight = false;

	public static ArrayList<GameData> listGameData;
	public static GameData currentGameData;
	public static int screenWidth;
	public static int screenHeight;
	public static String version; // 版本

	final public static String sdcardDir = "avSoduku/imageCache";

	final public static String URLServer = "http://jjmmbb.com/BaoSudoku/";// 数独官网目录，
	final public static String URLHome = URLServer; // 首页
	final public static String URLUpdate = URLServer + "update.html"; // 更新
	final public static String URLUpdateApk = URLServer + "xz/shudu.apk"; // 更新

	// http://baoziapp.gotoip4.com/shudu/mmpic/mm.html?name=cjk
	// http://baoziapp.gotoip4.com/shudu/mmpic/cjk/1%20(1)
	final public static String URLPic = URLServer + "mmpic/"; // 图片目录

	public static boolean isFirst = false; // 是否第一次打开程序

	public static boolean isWakeLock = false; // 是否常亮屏幕

	public static boolean isSound = false; // 是否播放音效

	final public static String URLhaha = "http://www.haha.mx/pic";

	public static void print(String msg) {
		if (debug) {
			System.out.println(msg);
		}
	}

	public static ArrayList<String> updateInfoList = new ArrayList<String>();

}
